import axios from 'axios';

var poetryService = {};

poetryService.getPoetry = function(content){
  return axios.post(process.env.API_HOST + "hello")
    .then(function(res){
      return res;
    })
    .catch(function(error){
      window.console.log(error);
    })
};

export default poetryService;
